package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/** 
 * @Description  
 * @version 1.0 
 * @author lcx
 * @date 2025/2/9 11:25
 */
@TableName(value = "snacksorders")
public class Snacksorders {
    @TableId(value = "order_id", type = IdType.INPUT)
    private Integer orderId;

    @TableField(value = "customer_id")
    private Integer customerId;

    @TableField(value = "snack_id")
    private Integer snackId;

    @TableField(value = "order_date")
    private Date orderDate;

    @TableField(value = "Quantity")
    private Integer quantity;

    @TableField(value = "total_amount")
    private Integer totalAmount;

    /**
     * @return order_id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * @param orderId
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * @return snack_id
     */
    public Integer getSnackId() {
        return snackId;
    }

    /**
     * @param snackId
     */
    public void setSnackId(Integer snackId) {
        this.snackId = snackId;
    }

    /**
     * @return order_date
     */
    public Date getOrderDate() {
        return orderDate;
    }

    /**
     * @param orderDate
     */
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    /**
     * @return Quantity
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * @param quantity
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * @return total_amount
     */
    public Integer getTotalAmount() {
        return totalAmount;
    }

    /**
     * @param totalAmount
     */
    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }
}